package com.gwsdk.paysdk.acitvityV2.fragment;

import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;



import com.gwsdk.paysdk.bean.HelperBean;
import com.gwsdk.paysdk.utils.AppStatusManager;
import com.gwsdk.paysdk.utils.GWInflaterUtils;

public class GWServerChatFragment extends GWBaseFragment{

    private ImageView backItem;
    private RelativeLayout relativeLayout;
    private View loadingView;
    private HelperBean helperBean;
    private TextView title;
    @Override
    public int setContentView() {
        return GWInflaterUtils.getLayout(getActivity(),"gw_fragment_customer_server_new");
    }

    @Override
    public void initView(View view) {
        backItem = view.findViewById(GWInflaterUtils.getControl(getActivity(),"btn_back"));
        backItem.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                dismiss();
            }
        });
        relativeLayout = view.findViewById(GWInflaterUtils.getControl(getActivity(),"relative_layout"));
        loadingView = view.findViewById(GWInflaterUtils.getControl(getActivity(),"loading_view"));
        title = view.findViewById(GWInflaterUtils.getControl(getActivity(),"title"));
        initChatView();
    }

    @Override
    public void getData() {

    }

    private void initChatView(){

        helperBean = AppStatusManager.getInstance().helperBean;
        if (helperBean == null || TextUtils.isEmpty(helperBean.APP_KEFU)) return;

    }



    @Override
    public void onDestroy() {
        super.onDestroy();

    }
}
